package com.imooc.miaosha.redis;

/**
 * @author Paul
 * @version 0.1
 * @date 2018/3/28 0028
 */
public class AccessKey extends BasePrefix {
    public AccessKey(String prefix) {
        super(prefix);
    }

    public AccessKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static AccessKey withExpire(int expireSeconds) {
        return new AccessKey(expireSeconds, "ak");
    }

}
